<%@ include file="isComm.jsp"%>
<%@ page import="java.util.*,database.DBCon" %>
<%
try{
           DBCon db = new DBCon();
            Enumeration en = request.getParameterNames();
            while(en.hasMoreElements())
            {
                String id = (String)en.nextElement();
                String status = request.getParameter(id);
                db.updateProjectStatus(id, status);
            }
            response.sendRedirect("ValidProjects.jsp");
}
catch(Exception e)
{
    response.sendRedirect("../connectionFailed.jsp?"+e);
}

	    %>